package com.atguigu.spzx.product.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {

    // 返回1级分类菜单
    List<Category> selectOneCategory();


    // 查询所有分类
    List<Category> findAll();
}
